import { reqGetBannner } from "@/API/index"
const actions = {
    async Bannner({ commit }) {
        let reqGet = await reqGetBannner()
        if (reqGet.code == 200) {
            commit("GetBannner", reqGet.data)
        }
    }
}
const mutations = {
    GetBannner(state, reqGet) {
        state.reqGetBannnerdata = reqGet;
    }
}
const state = {
    reqGetBannnerdata: [],
}
export default {
    actions,
    mutations,
    state
}
